package com.shaokel.eduservice.client.impl;

import com.shaokel.commonutils.ReturnResult;
import com.shaokel.eduservice.client.VodClient;

import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 少丶客
 * @ClassName VodClientImpl
 * @Description 熔断器
 * @Date 2020/6/12 18:26
 * @Vesion 1.0
 */
@Component
public class VodClientImpl implements VodClient {

    @Override
    public ReturnResult removeAlyiVideo(String id) {
        return ReturnResult.error().message("删除视频出错了");
    }

    @Override
    public ReturnResult deleteBatch(List<String> videoIdList) {
        return ReturnResult.error().message("删除视频出错了");
    }
}